package com.abocode.aichat.app.user.api.command;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * Created by guanxf on 2015/12/16.
 */
@Data
public class UpdateUserCommand {

    @NotNull
    @Size(min = 2, max = 50)
    private String   nickname;
    @NotNull
    private Date birthday;
    @NotNull
    @Size(min = 2, max = 32)
    private String   province;
    @NotNull
    @Size(min = 2, max = 128)
    private String   city;
    @Size(min=2,max=255)
    private String  signature;
}
